package com.zhinong.service;

import com.zhinong.dto.ProductPageQueryDTO;
import com.zhinong.entity.Product;
import com.zhinong.result.PageResult;

import java.util.List;

public interface ProductService {
    void save(Product product);

    PageResult pageQuery(ProductPageQueryDTO productPageQueryDTO);


    void deleteById(Long productId);

    void update(Product product);

    Product getByID(Long ids);

    List<Product> getByIds(List<Long> ids);
}
